package com.kirin.dao.entity;

import java.util.Date;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableField;

/**
 * @author gong.libin
 * @since 2018-01-01
 * 根据表结构生成对象
 */
@TableName("t_statistic_adowner")
public class StatisticAdowner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 展示量
     */
    @TableField("sad_viewAccount")
    private Integer sadViewaccount;
    /**
     * 点击量
     */
    @TableField("sad_clickAccount")
    private Integer sadClickaccount;
    /**
     * 消耗量
     */
    @TableField("sad_costAmount")
    private Integer sadCostamount;
    /**
     * 所属广告主 ad_owner表中的id
     */
    @TableField("sad_adOwnerId")
    private Long sadAdownerid;
    /**
     * 创建日期
     */
    @TableField("sad_createTime")
    private Date sadCreatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSadViewaccount() {
        return sadViewaccount;
    }

    public void setSadViewaccount(Integer sadViewaccount) {
        this.sadViewaccount = sadViewaccount;
    }

    public Integer getSadClickaccount() {
        return sadClickaccount;
    }

    public void setSadClickaccount(Integer sadClickaccount) {
        this.sadClickaccount = sadClickaccount;
    }

    public Integer getSadCostamount() {
        return sadCostamount;
    }

    public void setSadCostamount(Integer sadCostamount) {
        this.sadCostamount = sadCostamount;
    }

    public Long getSadAdownerid() {
        return sadAdownerid;
    }

    public void setSadAdownerid(Long sadAdownerid) {
        this.sadAdownerid = sadAdownerid;
    }

    public Date getSadCreatetime() {
        return sadCreatetime;
    }

    public void setSadCreatetime(Date sadCreatetime) {
        this.sadCreatetime = sadCreatetime;
    }

    @Override
    public String toString() {
        return "StatisticAdowner{" +
        ", id=" + id +
        ", sadViewaccount=" + sadViewaccount +
        ", sadClickaccount=" + sadClickaccount +
        ", sadCostamount=" + sadCostamount +
        ", sadAdownerid=" + sadAdownerid +
        ", sadCreatetime=" + sadCreatetime +
        "}";
    }
}
